package com.bootdo.clouddo.dao.douban;

import com.bootdo.clouddo.dao.BaseMapper;
import com.bootdo.clouddo.domain.douban.DbBookDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DbBookDetailMapper extends BaseMapper<DbBookDetail> {

    DbBookDetail getRandom();

    List<Long> getAllIds();

    List<DbBookDetail> find(@Param("keyword") String keyword);
}